import {
  ref
} from '@vue/composition-api';
import {
  http
} from '../../../utils/http/axios';

export const useOrderDetail = () => {
  const order = ref();

  const getOrderDetail = (id) => {
    http({
      url: '/Api/MF_ManagerFront/MF_ChannelDealer/PostOrderDetail',
      method: 'post'
    }).then((res) => {
      console.log(res);
    });
  };

  return {
    order,
    getOrderDetail
  };
};